/*
 * PolizPosition.h
 *
 *  Created on: 30.04.2012
 *      Author: Eugene Kornykhin
 */

#ifndef POLIZPOSITION_H_
#define POLIZPOSITION_H_

#include "Poliz.h"

class PolizPosition {
public:
	PolizPosition();
	PolizPosition(Poliz::index_type position);
	virtual ~PolizPosition();

	bool operator==(PolizPosition p) const;
	bool operator!=(PolizPosition p) const;
	bool operator<(PolizPosition p) const;
	bool operator<=(PolizPosition p) const;
	bool operator>(PolizPosition p) const;
	bool operator>=(PolizPosition p) const;


	Poliz::index_type getPosition() const;
	PolizPosition next() const;

private:
	Poliz::index_type position;
};



#endif /* POLIZPOSITION_H_ */
